import Vue from 'vue'
import App from './App'
import store from './store'
import * as api from '@/common/api'
import statusBar from '@/components/status-bar/status-bar'
import navBar from '@/components/nav-bar/nav-bar'
import util from '@/utils/util.js'
Vue.component('status-bar', statusBar)
Vue.component('nav-bar', navBar)

Vue.config.productionTip = false
Vue.prototype.$store = store
Vue.prototype.$api = api
Vue.prototype.$util = util
App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
